package com.app.backendmybatis.service.impl;

import com.app.backendmybatis.entity.User;
import com.app.backendmybatis.mapper.UserMapper;
import com.app.backendmybatis.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: ZhengJunJie
 * @Date: 2020/5/28 10:38
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User select(Integer id) {
        return userMapper.selectUser(id);
    }
}
